home *** CD-ROM | disk | FTP | other *** search
- Path: Norway.EU.net!usenet
- From: patrick.hanevold@login.eunet.no (Patrick Hanevold)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: doubling pixels horizontally
- Date: 11 Feb 1996 19:45:06 GMT
- Organization: EUnet Norway
- Message-ID: <1225.6615T1229T800@login.eunet.no>
- References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no><1045.6611T753T2256@vip.cybercity.dk><4faoe1$47@sunsystem5.informatik.tu-muenchen.de><2991.6612T1034T625@vip.cybercity.dk>
- <576.6613T1070T1730@login.eunet.no> <1257.6614T57T922@vip.cybercity.dk>
- NNTP-Posting-Host: pc5.asker-pm2-1.eunet.no
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- >The point is that you only have to write 1 bit/pixel for each bitplane to
- >display
- So you use bset then? Or what?
-
- >2 pixels with the same color horisontaly as in 2x1. This is not true when you
- >make 2x1 in the c2p rutine. Then you have to write 320/8=40 bytes per line
- >for each bitplane but you only have to calc 320/2=160 pixels/line because you
- >double the pixel width.
- Nonono. 160*128=5120 long writes to chip. The doubling is done with the
- blitter. The refresh rates can be 50fps or 25fps. Both linear.
- The 50fps is dithered with sprites, and doues the last pass with the bitplane
- scroll registers.
-
- >In my example I only have to write 128/8 bytes per line. This means a 2x2
- Just like the rest of us.
-
- >fullscreen with 160*128=20480 pixels and 256 colors only takes 20480/4=5120
- >processor long writes to chipmem and one blitter pass is only 20480 bytes.
-
- >There is a few demos using this kind of blitterscreen with the spritemask.
- >Some of the TP5 demos do, I can't remember whitch.
- It was me and Ludvig Pedersen who wrote those c2p routines, so I know.
- But you where talking about planar!?!?!
-
- <sb>Patrick Hanevold - Virtual Reality developer
- <sb>patrick.hanevold@login.eunet.no
- <sb>Amiga and official Be developer
-
-